package com.plian.system.entity.pm.property;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.Tools.pagedata.PageData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @description: 存最新的产权信息
 * @author: gangan
 * @create: 2020-07-08 15:14
 */
@Data
@TableName("pm_property_basics")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PropertyBasics对象", description = "产权最新记录表")
public class PropertyBasics extends BaseProperty implements Serializable{

    private static final long serialVersionUID = 1L;

    private String propertyCode;

    private Integer propertyLevel;


    @ApiModelProperty(value = "出资人情况")
    @TableField(exist = false)
    private List<ContributorBasics> contributorBasicsList;

    @ApiModelProperty(value = "境外控股人")
    @TableField(exist = false)
    private List<ShareholdingBasics> shareholdingBasicsList;

    @ApiModelProperty(value = "合伙人登记情况")
    @TableField(exist = false)
    private List<PartnerSituationBasics> situationBasicsList;

    @ApiModelProperty(value = "对外投资情况")
    @TableField(exist = false)
    private List<PartnerOutboundBasics> outboundBasicsList;

    @ApiModelProperty(value = "附件情况集合")
    @TableField(exist = false)
    private List<PageData> files;
}
